package com.solo.system.model.i18n.type;

import com.solo.system.api.entity.SysI18nType;
import com.solo.system.model.i18n.type.req.I18nTypeCreateReq;
import com.solo.system.model.i18n.type.req.I18nTypeUpdateReq;
import com.solo.system.model.i18n.type.req.I18nTypeUpdateStatusReq;
import com.solo.system.model.i18n.type.resp.I18nTypeGetResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 国际化语言类型实体转换类
 * @author 十一
 * @since 2024-10-23 15:10
 * 人生若只如初见，何事秋风悲画扇
 **/
@Mapper
public interface SysI18nTypeConvert {

    SysI18nTypeConvert INSTANCE = Mappers.getMapper(SysI18nTypeConvert.class);

    SysI18nType convert(I18nTypeCreateReq bean);

    SysI18nType convert(I18nTypeUpdateStatusReq req);

    SysI18nType convert(I18nTypeUpdateReq bean);

    I18nTypeGetResp convertGet(SysI18nType bean);

}
